//
//  QJPreviewOrderVCFooterView.m
//  QuanJieShopProject
//
//  Created by apple on 2018/2/23.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "QJPreviewOrderVCFooterView.h"

@implementation QJPreviewOrderVCFooterView
-(void)footerUpdateDataWithDic:(NSDictionary *)dict{
    if (dict) {
        NSString *totalAmount = [NSString stringWithFormat:@"%@",dict[@"total_fee"]];
        NSString *totalFreight = [NSString stringWithFormat:@"%@",dict[@"goods_fee"]];
        self.priceLabel.text = totalFreight;
        self.totalPriceLabel.text = totalAmount;
    }
}
- (IBAction)uploadOrderBtnClickAction:(UIButton *)sender {
    if (self.uploadOrderBlcok) {
        self.uploadOrderBlcok();
    }
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
